package org.mullin.stratego.client;

import java.util.Collection;

import org.mullin.stratego.shared.Match;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface StrategoServiceAsync {
	public void enterGame(String channelId, AsyncCallback<Void> async);
	public void sendMove(String m, String id, long matchId, AsyncCallback<Void> async);
	
	public void autoMatch(String id, AsyncCallback<Void> async);
	
	public void getMatches(String id, AsyncCallback<Collection<Match>> async);
	
	public void deleteMatch(long matchId, String player, AsyncCallback<Void> async);
	public void getMatch(long matchId, AsyncCallback<Match> async);
}
